<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--接收成功后显示用户信息-->
Hello, <div th:if= "${user}" th:text="${user.name}"></div>! <br>
<a href="login">登录</a>
<a href="register">注册</a>
</body>
</html>